Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-07 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 07.10.2019 um 00:18: Here is my "minimal" example. As I need fallbacks, they remain. Only the fallback for greek is needed, anything else can be removed. [...] As before, TOC shows "α Vaya" but subsection headers only show "Vaya", wit

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
. \setuphead   [section]   [number=no] \setuphead   [subsection]   [number=yes,    sectionsegments=subsection,    conversion=g] \setupbodyfont[dejavu] \starttext \completecontent \chapter{yay} \section{wow} \subsection{Text} \stoptext Wolfgang Jairo A. del Rio schrieb am 06.10.2019 um 23:29: I

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
I tried the following \setuphead[chapter][align=middle,header=empty,footer=empty] \setuphead[section][align=middle,number=no] \setuphead[subsection][align=middle,number=yes,sectionsegments=subsection,conversion=g] \mainlanguage[spanish] \definefallbackfamily[mainface][rm][newgardiner][range

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Todd DeVries
ph you can enclose > your text in \bpar … \epar instead of \startparagraph … \stopparagraph. That seems to work. I don't have the ability to directly examine the pdf's tags table, but the document appears to read correctly. Sections/subsections/paragraphs are identified. The subsection is inli

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Wolfgang Schuster
Todd DeVries 2. April 2017 um 01:47via Postbox Hello everyone, Thanks to all who helped me better understand the issues surrounding my question. The document style I am following

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Todd DeVries
Hello everyone, Thanks to all who helped me better understand the issues surrounding my question. The document style I am following requires that the first three headings are included in the table of contents. Headings one and two are easy, as they stand on lines by themself. Heading three

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Alan Braslau
startsubsection[title=First Subsection] \startparagraph[before=] a\stopparagraph > \startparagraph b\stopparagraph > \startparagraph c\stopparagraph > \stopsubsection > \stoptext (untested) Alan _

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Pablo Rodriguez
the section >> title using the after keyword. is this correct? > > Seems to be. While before= is honored, after= is not. This looks like an > inconsistency that can be addressed. Hi Todd, this will give the output you like: \setuppapersize[letter] \setuptagging[state=sta

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Rik Kabel
with the text alternative. I am wondering if this is just not going to work with the tagging subsystem. The subsection aligns if I remove the start/stop paragraph following the heading. But if I add a second paragraph in that subsection it breaks again. Example, please. I have no problem adding a start

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
: > alternative=text is working, but \startparagraph is starting a > new paragraph after the heading. \start\stopparagraph is not > happy with the text alternative. I am wondering if this is just not going to work with the tagging subsystem. The subsection aligns if I remove the start/stop

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Rik Kabel
On 2017-03-31 19:05, Todd DeVries wrote: Hello, I would like to align a subsection heading with the following paragraph. For example: Subsectiontext. The data presented in this section will ... What I get is: Subsection Text The data presented in this section will ... What recipe should

[NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
Hello, I would like to align a subsection heading with the following paragraph. For example: Subsectiontext. The data presented in this section will ... What I get is: Subsection Text The data presented in this section will ... What recipe should be used with the \setupheads command

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Wolfgang Schuster
Fabrice Couvreur <mailto:fabrice1.couvr...@gmail.com> 27. Juli 2016 um 12:32 Hi Henri, Thank you, it works. What's weird is that I used \setuphead [subsection][...] once unsuccessfully probably a mistake on my part. When you’re unsure which keys and values are available for a command

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
Hi Henri, Thank you, it works. What's weird is that I used \setuphead [subsection][... ] once unsuccessfully probably a mistake on my part. Fabrice 2016-07-27 12:23 GMT+02:00 Henri Menke <henrime...@gmail.com>: > Hi Fabrice, > > use \setuphead (see below). &g

Re: [NTG-context] Change the color of the number of subsection

2016-07-27 Thread Henri Menke
Hi Fabrice, use \setuphead (see below). Cheers, Henri --- \starttext \setuphead [subsection] [ sectionsegments=subsection:subsection, color=darkred, ] \startsubsection[title={Recherche d'une fonction sous contraintes}] \stopsubsection \stoptext On 07/27/2016 11:24 AM, Fabrice

[NTG-context] Change the color of the number of subsection

2016-07-27 Thread Fabrice Couvreur
Hello, With this \startsubsection [title={\darkred Recherche d'une fonction sous contraintes}, sectionsegments=subsection:subsection, numbercommand={\darkred}] it does not work. Thanks Fabrice ___ If your

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Mojca Miklavec
(as one ends with way too many numbers otherwise). The figure numbering is screwed up, I get: - Figure 1.1 - Figure 2 - Figure 1.3 \setuphead [subsubsection] [number=no] \starttext \chapter{Chapter A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Hans Hagen
\chapter{Chapter A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct prefix}{test} \subsubsection{Subsubsection D} \placefigure[force]{no prefix number}{test} \subsection{Subsection E} \placefigure[force]{correct prefix}{test} \stoptext How to fix that? Thank you, Mojca

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Mojca Miklavec
to remove subsubsection numbers (as one ends with way too many numbers otherwise). The figure numbering is screwed up, I get: - Figure 1.1 - Figure 2 - Figure 1.3 \setuphead [subsubsection] [number=no] \starttext \chapter{Chapter A} \section{Section B} \subsection{Subsection C

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Hans Hagen
ends with way too many numbers otherwise). The figure numbering is screwed up, I get: - Figure 1.1 - Figure 2 - Figure 1.3 \setuphead [subsubsection] [number=no] \starttext \chapter{Chapter A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct prefix}{test

[NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-08 Thread Mojca Miklavec
A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct prefix}{test} \subsubsection{Subsubsection D} \placefigure[force]{no prefix number}{test} \subsection{Subsection E} \placefigure[force]{correct prefix}{test} \stoptext How to fix that? (I know that I can used something else than

Re: [NTG-context] Keeping section and subsection together

2015-04-24 Thread Hans Hagen
} \subsection{Subsec} \input ward } \stoptext Is there a way to bind it with the next head (subsection) - so that 5 Sec, 5.1 Subsec (and at least one line of the following paragraph) would be together on one page? Hi Lukáš, add the following to the document preamble: \setuphead

Re: [NTG-context] Keeping section and subsection together

2015-04-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\dorecurse{5}{ \section{Sec} \subsection{Subsec} \input ward } \stoptext Is there a way to bind it with the next head (subsection) - so that 5 Sec, 5.1 Subsec (and at least one line of the following paragraph) would be together on one page? Hi Lukáš, add the following

Re: [NTG-context] Keeping section and subsection together

2015-04-24 Thread Pablo Rodriguez
On 04/24/2015 11:07 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, thanks Pablo for the suggestion and Hans for the solution... I'd rather wait publishing the trick \setuphead[section][after={\blank[samepage,big]}] as I think this issue will be handled systematically (Hans'

[NTG-context] Keeping section and subsection together

2015-04-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the following sample generates section title 5 Sec as a last/solitary heading (section) on the page. \starttext \dorecurse{5}{ \section{Sec} \subsection{Subsec} \input ward } \stoptext Is there a way to bind it with the next head (subsection) - so that 5

Re: [NTG-context] Keeping section and subsection together

2015-04-23 Thread Pablo Rodriguez
On 04/23/2015 11:50 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, the following sample generates section title 5 Sec as a last/solitary heading (section) on the page. \starttext \dorecurse{5}{ \section{Sec} \subsection{Subsec} \input ward

[NTG-context] Blank space between \subsection columns (related to: XML processing columns (almost) empty pages)

2015-02-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I found a more minimal example which produces unwanted blank space between \subsection and columns: % nofruns=1 \starttext \dorecurse{5}{ \subsection{T} \startcolumns[n=4,balance=yes] \input knuth \stopcolumns } \stoptext The blank space appears on pg

[NTG-context] Subsection number independant of section

2014-05-02 Thread Fabrice Couvreur
Hi, I would get a dial like this : A. Section one 1. Subsection one With the code below, I get : A. Section one A. A. Subsection one \setupsection [section] [conversion=Character] \setuplabeltext [section={{},{.}}, subsection={{},{.}}] \setupsection [subsection

Re: [NTG-context] Subsection number independant of section

2014-05-02 Thread Romain Diss
Le 02/05/2014, Fabrice Couvreur a écrit I would get a dial like this : A. Section one 1. Subsection one This should work: \setuphead [section] [sectionstopper=., %sectionsegments=3:3, conversion=Characters,] \setuphead [subsection

Re: [NTG-context] Subsection number independant of section

2014-05-02 Thread Fabrice
Hi Romain, Thank you, it works. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

[NTG-context] \subsection produces the wrong result

2012-07-09 Thread Hongwen Qiu
With ConTeXt version: 2012.07.10 00:56, the following minimal example produces the wrong result: \starttext \section{Section} \subsection{Subsection} % This generates a section other than a subsection \stoptext

[NTG-context] Page with subsection following a subsection

2011-06-07 Thread Cecil Westerhof
I would like to have a subsection start on a new page. This can be done with: \setuphead[subsection][before={\page}] But when I have had a section before the subsection instead of a subsection before the subsection, I do not want a new page. (Subsections I want to have divided, but the combo

Re: [NTG-context] Page with subsection following a subsection

2011-06-07 Thread Marco
On 2011-06-07 Cecil Westerhof cldwester...@gmail.com wrote: I would like to have a subsection start on a new page. This can be done with: \setuphead[subsection][before={\page}] But when I have had a section before the subsection instead of a subsection before the subsection, I do not want

[NTG-context] How to get the style definitions from \chapter, \section, \subsection

2011-03-19 Thread Cecil Westerhof
The style of chapter is significant bigger as the style from section, but it looks like the style from section and subsection are about the same. I have a workaround with the following: \setuphead[section][before={\blank[3*big] \testpage[15]}] \setuphead[subsection][before={\blank[big

Re: [NTG-context] How to get the style definitions from \chapter, \section, \subsection

2011-03-19 Thread Wolfgang Schuster
Am 19.03.2011 um 17:21 schrieb Cecil Westerhof: The style of chapter is significant bigger as the style from section, but it looks like the style from section and subsection are about the same. I have a workaround with the following: \setuphead[section][before={\blank[3*big] \testpage

Re: [NTG-context] How to hide or remove chapter e section number in subsection head and in TOC subsection head?

2010-09-21 Thread Aldo Lazich
My first problem was about headers and I resolved it this way: 8--- \definehead[capo][chapter] \setuphead [capo] [alternative=middle,ownnumber=yes] \def\myownnumber#1{\currentstructureownnumber} %---^^

[NTG-context] How to hide or remove chapter e section number in subsection head and in TOC subsection head?

2010-09-18 Thread Aldo Lazich
Hi to all. I don't want: 8.3.2 Subsection title 8.3.2 Subsebtion title.page no% in TOC but I wish: 2 Subsebtion title 2 Subsebtion title.page no % in TOC here my code (ConTeXt ver: 2010.09.09 23:45 MKIV fmt: 2010.9.12): --8

Re: [NTG-context] How to hide or remove chapter e section number in subsection head and in TOC subsection head?

2010-09-18 Thread luigi scarso
On Sat, Sep 18, 2010 at 4:45 PM, Aldo Lazich aldo_laz...@yahoo.com wrote: Hi to all. I don't want: 8.3.2 Subsection title 8.3.2 Subsebtion title.page no        % in TOC but I wish: 2 Subsebtion title 2 Subsebtion title.page no           %  in TOC here my code (ConTeXt

Re: [NTG-context] subsection and special characters

2009-11-01 Thread Bernd Militzer
Wolfgang Schuster schrieb: \define\nmacron{n̄} \define\mmacron{m̄} Thanks Wolfgang, but with \define\nmacron{\buildtextaccent\textmacron n} \define\mmacron{\buildtextaccent\textmacron m} I get an better result. Bernd

[NTG-context] subsection and special characters

2009-10-31 Thread Bernd Militzer
Hi all, making transcriptions of old church books I defined two special characters nmacorn and mmacron, but when using subsections the characters are not printet. Has something changed or is this a bug? % ---snip % \enableregime[utf] \mainlanguage[de] \setupencoding[default=texnansi]

Re: [NTG-context] subsection and special characters

2009-10-31 Thread Wolfgang Schuster
Am 31.10.2009 um 16:23 schrieb Bernd Militzer: Hi all, making transcriptions of old church books I defined two special characters nmacorn and mmacron, but when using subsections the characters are not printet. Has something changed or is this a bug? % ---snip % \enableregime[utf]

Re: [NTG-context] subsection and special characters

2009-10-31 Thread Wolfgang Schuster
Am 31.10.2009 um 16:23 schrieb Bernd Militzer: Hi all, making transcriptions of old church books I defined two special characters nmacorn and mmacron, but when using subsections the characters are not printet. Has something changed or is this a bug? % ---snip % \enableregime[utf]

[NTG-context] \setuphead[section] who do subsection inherit and how to set something just for sections?

2009-06-03 Thread tristramg
} \subsection{bar} \stoptext However, subsection is also in bold. If y do textstyle instead of style, then subsection doesn't inherit the style. So I have two questions: – in which documentation is described what parameters are inherited or not? – how can I change the formating of a section without changing

Re: [NTG-context] subsection numbering

2009-05-27 Thread Hans Hagen
Amaël Broustet wrote: Dear all, I got a problem with the numbering of subsections : they are numbered using the \currentheadnumber of the heading containing the \subsection attached an example and the output. whow ... \char`\\{}currentheadnumber easier ... \type

Re: [NTG-context] subsection numbering

2009-05-27 Thread Amaël Broustet
Thanks for the tip ! Le mercredi 27 mai 2009 à 16:38 +0200, Hans Hagen a écrit : Amaël Broustet wrote: Dear all, I got a problem with the numbering of subsections : they are numbered using the \currentheadnumber of the heading containing the \subsection attached an example

[NTG-context] subsection numbering

2009-05-23 Thread Amaël Broustet
Dear all, I got a problem with the numbering of subsections : they are numbered using the \currentheadnumber of the heading containing the \subsection attached an example and the output. in the log, I get : structure : chapter @ level 2 : 0.1 - Chapter structure : section @ level

[NTG-context] how to NOT reset subsection ONLY ??

2008-04-03 Thread Steffen Wolfrum
][resetnumber=no] \starttext \chapter{aa} \section{bbb} \subsection{ccc} \section{bbb} \subsection{ccc} \subsubsection{sss} \chapter{aa} \section{bbb} \subsection{(-should be 3) ccc} \section{bbb} \subsection{(-should be 4) ccc} \subsubsection{ddd} \stoptext trying to avoid resetting subsection

Re: [NTG-context] how to NOT reset subsection ONLY ??

2008-04-03 Thread Wolfgang Schuster
=no] \setupsection[section-5][conversion=numbers,previousnumber=no] \setuphead[section][resetnumber=no] \starttext \chapter{aa} \section{bbb} \subsection{ccc} \section{bbb} \subsection{ccc} \subsubsection{sss} \chapter{aa} \section{bbb} \subsection{(-should be 3) ccc} \section{bbb} \subsection

Re: [NTG-context] subsection number independent of section

2007-08-27 Thread Wolfgang Schuster
2007/8/27, Michael [EMAIL PROTECTED]: Hi, I am trying to write up a legal document, in which I want the numbers for section and subsection look like: , | I. A Section Title | | A. A Subsection Title ` So far, I can only get , | I. A Section Title | | I.A. A Subsection

[NTG-context] subsection number independent of section

2007-08-26 Thread Michael
Hi, I am trying to write up a legal document, in which I want the numbers for section and subsection look like: , | I. A Section Title | | A. A Subsection Title ` So far, I can only get , | I. A Section Title | | I.A. A Subsection Title ` Commend used: \setupsection

Re: [NTG-context] subsection number independent of section

2007-08-26 Thread Idris Samawi Hamid
Hi, On Sun, 26 Aug 2007 17:02:59 -0600, Michael [EMAIL PROTECTED] wrote: , | I. A Section Title | | A. A Subsection Title ` So far, I can only get , | I. A Section Title | | I.A. A Subsection Title ` Commend used: \setupsection[section-3][conversion

[NTG-context] Subsection header last item on a page

2006-08-09 Thread David Arnold
All, A subsection head should not be the last item to appear on a page. What setting should prevent this? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Subsection header last item on a page

2006-08-09 Thread Hans Hagen
David Arnold wrote: All, A subsection head should not be the last item to appear on a page. What setting should prevent this? \page[no] but normally you should not do this; a vskip or whatever spoils this game, \blank should work ok ; in the case of itemizations one can say [intro

Re: [NTG-context] Subsection header last item on a page

2006-08-09 Thread David Arnold
Hans, \subsection{A Piecewise Defined Function} was the last line at the bottom of a page. We're going through on our last pass before burning cds, so I took care of it with: \page[yes] \subsection{A Piecewise Defined Function} But I thought tex wouldn't allow this sort of thing, or perhaps

Re: [NTG-context] continuous numbering of subsection

2006-06-26 Thread Ulf Martin
of the existence of higher levels. The higher levels should be numbered hierarchically as usual. When I try \setuphead[section][resetnumber=no] \setuphead[subsection][resetnumber=no] \setupsection[subsubsection][previousnumber=no] The subsubsection number is indeed not reset if *all* higher levels

[NTG-context] continuous numbering of subsection

2006-06-25 Thread Ulf Martin
Dear ConTeXt Experts I am still sometimes confused about how to set up simple things... I want to have a subsection level head type (topic) with a numbering that runs undependently from the section numbering, like so: 1. First Topic ... I. Section One ... 2. Second Topic ... 3. Third Topic

Re: [NTG-context] continuous numbering of subsection

2006-06-25 Thread Hans Hagen
Ulf Martin wrote: Dear ConTeXt Experts I am still sometimes confused about how to set up simple things... I want to have a subsection level head type (topic) with a numbering that runs undependently from the section numbering, like so: 1. First Topic ... I. Section One ... 2. Second

Re: [NTG-context] continuous numbering of subsection

2006-06-25 Thread Ulf Martin
in the TOC. This is typical e.g. in (German) law texts (here with § as a topic marker but this is not the point), Example: I. ... Chapter § 1 ... 1 ... Section § 2 ... Topic in section 1.1 ... Subsection § 3 ... Topic in subsection § 4